home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Enigma Amiga CD / Programmi / asl_v420.lha / asl_v42.0 / Install / Install next >
Text File  |  1995-07-10  |  6KB  |  236 lines

  1. ;
  2. ;              asl.library © 1995 Miîosîaw Smyk & Marcin Orîowski
  3. ;
  4. ;           ---------------------------------------------------------
  5. ;
  6. ;               ###    ###    #########  ###    ###    ###    ###
  7. ;               ###    ###    ###        ####  ####    ###    ###
  8. ;               ###    ###    ###        ### ## ###    ###    ###
  9. ;               ###    ###    ########   ### ## ###    ##########
  10. ;               ### ## ###    ########   ###    ###    ##########
  11. ;               ### ## ###    ###        ###    ###    ###    ###
  12. ;               ####  #### ## ###     ## ###    ### ## ###    ### ##
  13. ;               ###    ### ## ###     ## ###    ### ## ###    ### ##
  14. ;
  15. ;           ---------------------------------------------------------
  16. ;
  17. ;                       Mental Pictures Developed Here
  18. ;
  19. ;               Miloslaw Smyk                   Marcin Orlowski
  20. ;               Orawska 22/34                   ul. Radomska 38
  21. ;               70-131 Szczecin                 71-002 Szczecin
  22. ;               Poland                          Poland
  23. ;
  24. ;               SilverDream!'s BBS:  +48-(0)91-540431  (24h non-stop)
  25. ;                               GlobalNet: 52:4800/6
  26. ;                               FidoNet  :  2:481/22.2
  27. ;
  28. ;               Internet:       smykm@felix.univ.szczecin.pl
  29. ;                               carlos@felix.univ.szczecin.pl
  30. ;
  31. ;               WWW page:
  32. ;               http://dedal.univ.szczecin.pl/~thorgal/ASL/asl.html
  33. ;
  34. ;
  35. ;--------------------------------------------------------------------
  36. ;
  37. ;                  W.F.M.H. asl.library v42+ Installer script
  38. ;
  39. ;--------------------------------------------------------------------
  40. ;
  41. ; $VER: Installer of asl v42.0 (01.07.95) © Marcin Orlowski
  42. ;
  43.  
  44. (set OS_Version (getversion "LIBS:asl.library") )
  45. (if (AND ((<> OS_Version 2555908) (<> OS_Version 2621446)) 0)
  46.     (abort  "\nTo use asl.library v42.0\n"
  47.         "you need one of the following versions\n"
  48.         "of original asl.library to patch:\n\n"
  49.         "OS3.0  -  v39.4\n"
  50.         "OS3.1  -  v40.6\n"
  51.     )
  52. )
  53.  
  54. (if (= OS_Version 2752512)
  55.     (abort  "\n\nYou already have installed\n"
  56.         "asl.library v42.0\n"
  57.         "and there's no point to install it again..."
  58.     )
  59. )
  60.  
  61.  
  62.  
  63. (complete 0)
  64. (welcome
  65.     "\n"
  66.     " ###    ###    #########  ###    ###    ###    ###\n"
  67.     " ###    ###    ###        ####  ####    ###    ###\n"
  68.     " ###    ###    ###        ### ## ###    ###    ###\n"
  69.     " ###    ###    ########   ### ## ###    ##########\n"
  70.     " ### ## ###    ########   ###    ###    ##########\n"
  71.     " ### ## ###    ###        ###    ###    ###    ###\n"
  72.     " ####  #### ## ###     ## ###    ### ## ###    ###\n"
  73.     " ###    ### ## ###     ## ###    ### ## ###    ###\n"
  74.     "\n"
  75.     "      ------------------------------------------\n"
  76.     "            asl.library 42.0  (01.07.1995)\n"
  77.     "      ------------------------------------------"
  78. )
  79.  
  80. ;********************
  81.  
  82. (if (= OS_Version 2555908)
  83.     (set System 0)
  84. )
  85. (if (= OS_Version 2621446)
  86.     (set System 1)
  87. )
  88.  
  89. ;********************
  90.  
  91. (set PrefsMode
  92.   (askchoice
  93.      (prompt  "Select preferred type of prefs program")
  94.      (help    "\n\n\n\n"
  95.               "        In this release you have no choice\n"
  96.               "        and must select MUI prefs program\n"
  97.               "             if you like it or not...")
  98.      (choices "AslPrefs (MUI)")
  99.   )
  100. )
  101.  
  102. (if (= PrefsMode 0)
  103.     (copyfiles
  104.       (source "Prefs/AslPrefsMUI")
  105.           (dest "SYS:Prefs/")
  106.         (infos)
  107.       )
  108. )
  109. (complete 20)
  110.  
  111. ;********************
  112.  
  113. ;(set Languages
  114. ;    (askoptions
  115. ;          (prompt  "Select languages for prefs program\n"
  116. ;               "(english is built-in language)"
  117. ;    )
  118. ;     (help    @askoptions-help)
  119. ;           (choices
  120. ;                "Polski"
  121. ;    )
  122. ;    (default 0)
  123. ;    )
  124. ;)
  125.  
  126. ;********************
  127.  
  128. (set DOC_Type
  129.      (askoptions
  130.           (prompt  "Select manual form")
  131.              (help    @askoptions-help)
  132.            (choices
  133.                 " AmigaGuide"
  134.         )
  135.  
  136.        )
  137. )
  138.  
  139. (if (> DOC_Type 0)
  140.  (
  141.   (
  142.  
  143.   (set Dok_dest
  144.      (tackon
  145.         (askdir
  146.             (default @default-dest)
  147.             (prompt  "Where do you want the manual to be placed in:\n"
  148.                  "(drawer \"Asl Manual\" will be created)")
  149.             (help   @askdir-help)
  150.                 )
  151.         "Asl Manual"
  152.     )
  153.   )
  154.  
  155.   (makedir Dok_dest (infos))
  156.  
  157.   (if (bitand DOC_Type 1)
  158.    (
  159.    (copyfiles
  160.       (source "/Docs/")
  161.       (dest Dok_dest)
  162.       (infos)
  163.       (all)
  164.     )
  165.    )
  166.   )
  167.  
  168.   )
  169.  )
  170. )
  171. (complete 40)
  172.  
  173. (working "Creating work files...")
  174. (if (= System 0)
  175.     (set err (run "c/spatch -ppatch/asl.library.39.4.pch -oLIBS:asl.library.new LIBS:asl.library"))
  176. )
  177. (if (= System 1)
  178.     (set err (run "c/spatch -ppatch/asl.library.40.6.pch -oLIBS:asl.library.new LIBS:asl.library"))
  179. )
  180. (if (<> err 0)
  181.     (
  182.     (run "delete >nil: LIBS:asl.library")
  183.     (abort "Patching has failed...")
  184.     )
  185. )
  186. (complete 60)
  187.  
  188. (working "Switching libraries as:\n"
  189.      "LIBS:asl.library.old\n\n"
  190.      "and creating the new one..."
  191. )
  192. (run "rename >nil: LIBS:asl.library LIBS:asl.library.old")
  193. (run "delete >nil: LIBS:asl.library")
  194. (run "rename >nil: LIBS:asl.library.new LIBS:asl.library")
  195. (complete 80)
  196.  
  197.  
  198. (working "...and finally we clean up...")
  199.  
  200. (if (= DOC_Type 0)
  201.     (set Info_Text
  202.      (cat "To become master of asl please\n"
  203.      "read manual carefully. But it seems\n"
  204.      "you already know everything because\n"
  205.      "you didn't want any documentation...\n\n"
  206.      )
  207.     )
  208.     (set Info_Text
  209.       (cat "To become master of asl please\n"
  210.      "carefully read installed manual\n"
  211.      "placed in the drawer:\n\""
  212.      Dok_dest
  213.      "/\"\n\n"
  214.      )
  215.     )
  216. )
  217. (message "\nDone!\n"
  218.      "---------\n"
  219.      "Now you must reset your Amiga\n"
  220.      "to enjoy this release of asl\n\n"
  221.      Info_Text
  222.      " © 1995 World Federation of Mad Hackers\n"
  223.      "Miloslaw Smyk & Marcin Orlowski\n"
  224. )
  225.  
  226. (complete 100)
  227. (message "\n\nFor more information, latest update\n"
  228.      "and the support files look at the\n"
  229.      "dedicated WWW page:\n\n"
  230.      "http://dedal.univ.szczecin.pl/~thorgal/ASL/asl.html\n\n\n"
  231.      "Check also our support BBS:\n\n"
  232.      "SilverDream!'s BBS:  +48 (0)91 540431  (non-stop)"
  233. )
  234.  
  235. (exit (QUIET))
  236.